﻿//创建时间: 2010-10-19
//创建作者: 李晓忠
//功能说明: CMS系统 信息基表 
//最后修改: 2010-10-19
//最后修改: 2010-10-21 李晓忠 添加扩展表名
//最后修改: 2010-11-2 李晓忠 添加排序.
//最后修改: 2010-11-3 李晓忠 添加类型.
using System;
using System.Collections.Generic;
using System.Text;

using TRPOP.Common;

namespace TRPOP.CMS.Model
{
    [Serializable]
    public class ContentInfo
    {
        #region 私有变量
		private int m_intContentId	=	0;
		private int m_intStatus	=	0;
		private int m_intPubStatus	=	0;
		private int m_intNodeId	=	0;
		private int m_intNodeContentSortId	=	0;
		private int m_intExtendId	=	0;
		private string m_strExtendTableName	=	"";
		private string m_strName	=	"";
		private string m_strTemplate	=	"";
		private string m_strHtmlName	=	"";
		private string m_strSelfPSN	=	"";
		private string m_strSelfURL	=	"";
		private string m_strUrl	=	"";
		private string m_strExtraUrl	=	"";
		private int m_intTopWeight	=	0;
		private int m_intDisplayOrder	=	0;
		private int m_intType	=	1;
		private int m_intEliteWeight	=	0;
		private int m_intPubUserId	=	0;
		private DateTime m_datPubTime	=	StringExtension.NullDateTime;
		private int m_intAddUserId	=	0;
		private DateTime m_datAddTime	=	StringExtension.NullDateTime;
		private int m_intUpdateUserId	=	0;
		private DateTime m_datUpdateTime	=	StringExtension.NullDateTime;
		private int m_intClick	=	0;
		private string m_strSEOTitle	=	"";
		private string m_strSEOKey	=	"";
		private string m_strSEODescription	=	"";
		private int m_intReadLimit	=	0;
		private decimal m_decExtcredits1	=	0;
		private decimal m_decExtcredits2	=	0;
		private string m_strExtcredits3	=	"";
		private string m_strExtcredits4	=	"";
		private string m_strExtcredits5	=	"";
		#endregion

		#region 成员函数

		/// <summary>
		///  信息id
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public int ContentId
		{
			get
			{
				return m_intContentId;
			}
			set
			{
				m_intContentId = value;
			}
		}

		/// <summary>
		///  审核状态
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public int Status
		{
			get
			{
				return m_intStatus;
			}
			set
			{
				m_intStatus = value;
			}
		}

		/// <summary>
		///  发布状态
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public int PubStatus
		{
			get
			{
				return m_intPubStatus;
			}
			set
			{
				m_intPubStatus = value;
			}
		}

		/// <summary>
		///  结点id
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public int NodeId
		{
			get
			{
				return m_intNodeId;
			}
			set
			{
				m_intNodeId = value;
			}
		}

		/// <summary>
		///  
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public int NodeContentSortId
		{
			get
			{
				return m_intNodeContentSortId;
			}
			set
			{
				m_intNodeContentSortId = value;
			}
		}

		/// <summary>
		///  扩展信息id
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public int ExtendId
		{
			get
			{
				return m_intExtendId;
			}
			set
			{
				m_intExtendId = value;
			}
		}

		/// <summary>
		///  扩展信息表名
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public string ExtendTableName
		{
			get
			{
				return m_strExtendTableName;
			}
			set
			{
				m_strExtendTableName = value;
			}
		}

		/// <summary>
		///  标题
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public string Name
		{
			get
			{
				return m_strName;
			}
			set
			{
				m_strName = value;
			}
		}

		/// <summary>
		///  模板
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public string Template
		{
			get
			{
				return m_strTemplate;
			}
			set
			{
				m_strTemplate = value;
			}
		}

		/// <summary>
		///  发布文件名
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public string HtmlName
		{
			get
			{
				return m_strHtmlName;
			}
			set
			{
				m_strHtmlName = value;
			}
		}

		/// <summary>
		///  自定义发布点(PSN)
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public string SelfPSN
		{
			get
			{
				return m_strSelfPSN;
			}
			set
			{
				m_strSelfPSN = value;
			}
		}

		/// <summary>
		///  自定义发布URL
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public string SelfURL
		{
			get
			{
				return m_strSelfURL;
			}
			set
			{
				m_strSelfURL = value;
			}
		}

		/// <summary>
		///  url地址
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public string Url
		{
			get
			{
				return m_strUrl;
			}
			set
			{
				m_strUrl = value;
			}
		}

		/// <summary>
		///  外部链接URL
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public string ExtraUrl
		{
			get
			{
				return m_strExtraUrl;
			}
			set
			{
				m_strExtraUrl = value;
			}
		}

		/// <summary>
		///  置顶权重
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public int TopWeight
		{
			get
			{
				return m_intTopWeight;
			}
			set
			{
				m_intTopWeight = value;
			}
		}

		/// <summary>
		///  排序
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public int DisplayOrder
		{
			get
			{
				return m_intDisplayOrder;
			}
			set
			{
				m_intDisplayOrder = value;
			}
		}

		/// <summary>
		///  类型
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public int Type
		{
			get
			{
				return m_intType;
			}
			set
			{
				m_intType = value;
			}
		}

		/// <summary>
		///  精华权重
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public int EliteWeight
		{
			get
			{
				return m_intEliteWeight;
			}
			set
			{
				m_intEliteWeight = value;
			}
		}

		/// <summary>
		///  发布者id
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public int PubUserId
		{
			get
			{
				return m_intPubUserId;
			}
			set
			{
				m_intPubUserId = value;
			}
		}

		/// <summary>
		///  发布时间
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public DateTime PubTime
		{
			get
			{
				return m_datPubTime;
			}
			set
			{
				m_datPubTime = value;
			}
		}

		/// <summary>
		///  添加者id
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public int AddUserId
		{
			get
			{
				return m_intAddUserId;
			}
			set
			{
				m_intAddUserId = value;
			}
		}

		/// <summary>
		///  添加时间
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public DateTime AddTime
		{
			get
			{
				return m_datAddTime;
			}
			set
			{
				m_datAddTime = value;
			}
		}

		/// <summary>
		///  最后修改人ID
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public int UpdateUserId
		{
			get
			{
				return m_intUpdateUserId;
			}
			set
			{
				m_intUpdateUserId = value;
			}
		}

		/// <summary>
		///  最后修改时间
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public DateTime UpdateTime
		{
			get
			{
				return m_datUpdateTime;
			}
			set
			{
				m_datUpdateTime = value;
			}
		}

		/// <summary>
		///  点击数
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public int Click
		{
			get
			{
				return m_intClick;
			}
			set
			{
				m_intClick = value;
			}
		}

		/// <summary>
		///  SEO标题
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public string SEOTitle
		{
			get
			{
				return m_strSEOTitle;
			}
			set
			{
				m_strSEOTitle = value;
			}
		}

		/// <summary>
		///  SEO关键字
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public string SEOKey
		{
			get
			{
				return m_strSEOKey;
			}
			set
			{
				m_strSEOKey = value;
			}
		}

		/// <summary>
		///  SEO描述
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public string SEODescription
		{
			get
			{
				return m_strSEODescription;
			}
			set
			{
				m_strSEODescription = value;
			}
		}

		/// <summary>
		///  阅读权限
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public int ReadLimit
		{
			get
			{
				return m_intReadLimit;
			}
			set
			{
				m_intReadLimit = value;
			}
		}

		/// <summary>
		///  预留字段1
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public decimal Extcredits1
		{
			get
			{
				return m_decExtcredits1;
			}
			set
			{
				m_decExtcredits1 = value;
			}
		}

		/// <summary>
		///  预留字段2
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public decimal Extcredits2
		{
			get
			{
				return m_decExtcredits2;
			}
			set
			{
				m_decExtcredits2 = value;
			}
		}

		/// <summary>
		///  预留字段3
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public string Extcredits3
		{
			get
			{
				return m_strExtcredits3;
			}
			set
			{
				m_strExtcredits3 = value;
			}
		}

		/// <summary>
		///  预留字段4
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public string Extcredits4
		{
			get
			{
				return m_strExtcredits4;
			}
			set
			{
				m_strExtcredits4 = value;
			}
		}

		/// <summary>
		///  预留字段5
		/// </summary>
		[DataAttribute(FieldType.DBField)]
		public string Extcredits5
		{
			get
			{
				return m_strExtcredits5;
			}
			set
			{
				m_strExtcredits5 = value;
			}
		}

		#endregion


    }
}




